<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id="app">
        <input type="text" v-bind:value="searchMap.keyWord">
        <input type="text" v-model="searchMap.keyWord"><!--双向数据绑定-->
        <p>您要查询的是：{{searchMap.keyWord}}</p>
    </div>
</body>
<script src="https://cdn.jsdelivr.net/npm/vue@2.5.21/dist/vue.js"></script>
<script>
    new Vue({
        el: '#app',
        data () {
            return {
                searchMap:{
                    keyWord:'1212312312'
                }
            }
        }
    })
</script>
</html>